package com.yt.lxh.vo.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(description = "口味属性")
public class TasteAttrVO {

    /**
     * 口味ID
     */
    @ApiModelProperty(value = "口味ID")
    private String id;

    /**
     * 口味属性
     */
    @ApiModelProperty(value = "口味属性")
    private String attrName;

    /**
     * 是否额外加价(1：是 / 0：否)
     */
    @ApiModelProperty(value = "是否额外加价(1：是 / 0：否)")
    private Boolean extra;

    /**
     * 额外加价的价格
     */
    @ApiModelProperty(value = "额外加价的价格")
    private BigDecimal extraPrice;

    /**
     * 口味ID
     */
    @ApiModelProperty(value = "所属口味ID外键")
    private String tasteId;

    /**
     * 排序权重
     */
    @ApiModelProperty(value = "排序权重")
    private Integer sort;

}
